#if 0

#include <iostream>
#include <algorithm>
#include <functional>
#include <vector>

using namespace std;

void show(vector<int> &v)
{
	for (vector<int>::iterator it = v.begin(); it != v.end(); it++)
	{
		cout << *it << ",";
	}
	cout << endl;
}
int main()
{
	vector<int> v;
	for (int i = 1; i <= 10; i++)
	{
		v.push_back(i);
	}
	show(v);
	vector<int> v1;
	v1.resize(v.size());
	auto func = [](int v){return ++v; };
	transform(v.begin(), v.end(),v1.begin(), func);
	show(v1);
	cout << endl;
	system("pause");
	return 0;
}
#endif